package com.bestcem.xm.openplatform.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.bestcem.xm.component.mybatis.base.BaseEntity2;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "ds_openplatform_encryptionconfig")
public class OpenplatformEncryptionconfig extends BaseEntity2 {
    @TableId(value = "id")
    private String id;

    /**
     * 组织ID
     */
    @TableField(value = "org_id")
    private String orgId;

    /**
     * 加密类型
     */
    @TableField(value = "e_type")
    private Integer eType;

    /**
     * aes加密配置 { "aes_key":“  ”}
     */
    @TableField(value = "aes_config")
    @JsonProperty("aes_config")
    private String aesConfig;
}